import request from '../utils/request';

export const fetchData = query => {
    return request({
        url: '../../mock/table.json',
        method: 'get',
        params: query
    });
};

export const getQrCode = query => {
    return request({
        url: '/weixin/qrcode',
        method: 'get',
        params: query
    });
}

export const pullLogin = query => {
    return request({
        url: '/weixin/pull',
        method: 'get',
        params: query
    });
}



export const regionArea = query => {
    return request({
        url: '../../mock/region_area.json',
        method: 'get',
        params: query
    });
}